package edu.ycu.aladdin.collector.api;

import edu.ycu.aladdin.collector.api.entity.BaseCrawlerTaskQueue;

/**
 * @author <a href="mailto:wangruihuano@gmail.com">王瑞环</a>
 * @since 2019-04-17 20:11
 */
public interface CrawlerTaskService<TASK_QUEUE extends BaseCrawlerTaskQueue<TYPE, ID>, TYPE, ID> {

    TASK_QUEUE requestTask(int size);

    TASK_QUEUE delTaskQueue(ID id);

    TASK_QUEUE getTaskQueue(ID id);
}
